import http from '@/api/http'

export function login (username, password) {
  return http({
    url: '/login',
    method: 'post',
    data: {
      username,
      password
    }
  })
}
